package cn.lingyangwl.agile.server;

import cn.lingyangwl.agile.model.constants.ModuleCons;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.stereotype.Indexed;

/**
 * @author shenguangyang
 */
@Indexed
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = {ModuleCons.SCAN_BASE_PACKAGE}, exclude = DataSourceAutoConfiguration.class)
public class StandaloneServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(StandaloneServerApplication.class, args);
    }
}